import java.util.ArrayList;
import java.util.List;

public class Sort {
  class studentclass{
      private List<Student> stulist;
      int size;
      public studentclass(){
          size=0;
          stulist=null;
      }
      public void creatcless(){
          Student student=new Student();
          stulist=new ArrayList<Student>();
          ArrayList<Student> students = StudentManager.studentArrayList();
          Student temp;
          int k;
          for(Student s:students){
              temp=new Student(student.getId(),student.getName(),student.getMath(),student.getChinese(),student.getEnglish());
              stulist.add(temp);
          }
          String output;{
              StringBuilder studentinfo=new StringBuilder();
              for(Student stu:stulist){
                  studentinfo.append(String.format("学号:%s,姓名:%s, 数学成绩:%s, 语文成绩:%s, 英语成绩:%s",
                          student.getId(),student.getName(),student.getMath(),student.getChinese(),student.getEnglish()));
              }
          }

      }
  }
}
